<template>
    <div class="login1">
        <h2>{{globalTitle}}</h2>
        <div class="login_wapper">
            <div class="title">注册</div>
            <div class="login_form">
                <div class="row">
                    <div class="key">账号：</div>
                    <input type="text" placeholder="请输入账号" v-model="form.username">
                </div>
                <div class="row">
                    <div class="key">密码：</div>
                    <input type="password" placeholder="请输入密码" v-model="form.password">
                </div>
                <div class="row">
                    <div class="key">重复密码：</div>
                    <input type="password" placeholder="请输入密码" v-model="form.password2">
                </div>
            </div>
            <p style="text-align: center">以有账号?<span @click="toLogin">去登录</span></p>
            <div class="long-btn" @click="handleRegister">注&nbsp;&nbsp;&nbsp;&nbsp;册</div>
        </div>
    </div>
</template>
<script setup lang="ts">
import { useRegisterFunctions } from '/@/components/hzsystem/LoginPublicFuncation';
const { form, globalTitle, handleRegister, toLogin } = useRegisterFunctions();

</script>
<style scoped lang="scss">
@import "./style.scss";
</style>